package com.meilian.param;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.meilian.pojo.Cart;
import com.meilian.vo.CartVo;
import lombok.Data;
import org.apache.catalina.LifecycleState;

import java.io.Serializable;
import java.util.List;

/**
 * 订单接收参数的param
 */
@Data
public class OrderParam implements Serializable {
    private static final long serialVersionUID = -6708312600401638325L;

    @JsonProperty("user_id")
    private Integer userId;
    private List<CartVo> products;
}
